﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Liju.Model
{
    /// <summary>
    /// 任务类
    /// </summary>
    public class TaskModel
    {
        public long Id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public long ProductId { get; set; }

        /// <summary>
        /// 产品工序
        /// </summary>
        public int WorkNum { get; set; }

        /// <summary>
        /// 任务序号
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 产品图片序号
        /// </summary>
        public int ProductImgNum { get; set; }

        /// <summary>
        /// 电批所在位置
        /// </summary>
        public string ScrewLocation { get; set; }

        /// <summary>
        /// 误差范围
        /// </summary>
        public double ErrorLimit { get; set; }

        /// <summary>
        /// 坐标半径误差
        /// </summary>
        public double RadiusError { get; set; }

        /// <summary>
        /// 电批控件所在位置
        /// </summary>
        public string ScrewControlLocation { get; set; }

        /// <summary>
        /// 电批参数任务号
        /// </summary>
        public int ScrewDriverParam { get; set; }

        /// <summary>
        /// 套筒型号
        /// </summary>
        public int SleeveModel { get; set; }

        /// <summary>
        /// 螺丝型号
        /// </summary>
        public int ScrewModel { get; set; }

        /// <summary>
        /// 是否预拧 0不是预拧 1是预拧
        /// </summary>
        public int TightenPrepare { get; set; }

        /// <summary>
        /// 跳过状态
        /// </summary>
        public int Skip { get; set; }

        /// <summary>
        /// 产品状态
        /// 2:删除
        /// </summary>
        public int Status { get; set; }
    }
}
